.container {
  width: 90%;
  height: 100%;
  margin: 0 auto;
  position: relative;
  max-width: 1200px;
  padding-top: 20px;
}

.clear:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  overflow: hidden;
}
.overflow-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.overflow-text {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.text-center {
  text-align: center;
}
.center-flex {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex1 {
  flex: 1;
}
.center-transform {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.center-absolute {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.img-box {
  overflow: hidden;
}
.img-box>img {
  width: 100%;
  height: 100%;
}

.full  {
  width: 100%;
  height: 100%;
}
.full-width {
  width: 100%;
}
.full-height {
  height: 100%;
}

.plain {
  color: #666;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fadeIn {
  animation: fadeIn .8s ease;
}
/*fade*/
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.28s;
}

.fade-enter,
.fade-leave-active {
  opacity: 0;
}

@media (min-width: 768px) {
  .grid-container {
    display: flex;
    margin: 0 auto;
    max-width: 1000px;
  }
}
